package com.ygxsk.carhome.response;

import java.math.BigDecimal;

/**
 * Created by itchenqi on 2018/2/10 0010.
 * description：购物车的内容数据,订单列表内部小列表的实体也是通用这个。itchen这个是处于最低一个级别的
 */
public class ShopCartBean {

    public ShopCartBean() {
    }

    /**
     * 可用库存
     */
    private int availableStore;

    /**
     * 是否是限购
     */
    private int isMinPay;

    /**
     * 是否上架，0否，1是
     */
    private int isPutSale;

    /**
     * 图片内容
     */
    private String logoImg;

    /**
     * 限购最大值
     */
    private int maxPayAmount;

    /**
     * 限购最小值
     */
    private int minPayAmount;

    /**
     * 购物车数量
     */
    private int productCount;

    /**
     * 商品ID
     */
    private int productId;

    /**
     * 标题内容也是商品名称
     */
    //private String productName;
    private String productFullName;

    /**
     * 商品单位
     */
    private String productUnit;

    /**
     * 售卖价格
     */
    private BigDecimal salesPrice;

    /**
     * 规格描述
     */
    private String specification;

    /**
     * 是否被选中内容
     */
    private int isChecked;


    //-----------------------------------------------------------------
    /**
     * 2018年05月07日为了避免重新创建上传id变量不用isChecked做判断
     */
    private int isPassValue;

    /**若 isVipOrder =1;是会员商品 那末不显示商品价格和下边的总价格*/
    /**
     * 若 isVipOrder =0;不是是会员商品，是普通的商品，标题文字后边的价格就展示出来
     */
    private int isVipOrderSon;


    //2019年11月18日 后来因为通用一个实体，所以在原来的基础上添加的


//    public int getIsCheckedApply() {
//        return isCheckedApply;
//    }

//    public void setIsCheckedApply(int isCheckedApply) {
//        this.isCheckedApply = isCheckedApply;
//    }

    public int getIsVipOrderSon() {
        return isVipOrderSon;
    }

    public void setIsVipOrderSon(int isVipOrderSon) {
        this.isVipOrderSon = isVipOrderSon;
    }

    public int getPassValue() {
        return isPassValue;
    }

    public void setPassValue(int isPassValue) {
        this.isPassValue = isPassValue;
    }
    //-----------------------------------------------------------------

    public int getChecked() {
        return isChecked;
    }

    public void setChecked(int isChecked) {
        this.isChecked = isChecked;
    }

    public int getAvailableStore() {
        return availableStore;
    }


    public void setAvailableStore(int availableStore) {
        this.availableStore = availableStore;
    }

    public int getIsMinPay() {
        return isMinPay;
    }

    public void setIsMinPay(int isMinPay) {
        this.isMinPay = isMinPay;
    }

    public int getIsPutSale() {
        return isPutSale;
    }

    public void setIsPutSale(int isPutSale) {
        this.isPutSale = isPutSale;
    }

    public String getLogoImg() {
        return logoImg;
    }

    public void setLogoImg(String logoImg) {
        this.logoImg = logoImg;
    }

    public int getMaxPayAmount() {
        return maxPayAmount;
    }

    public void setMaxPayAmount(int maxPayAmount) {
        this.maxPayAmount = maxPayAmount;
    }

    public int getMinPayAmount() {
        return minPayAmount;
    }

    public void setMinPayAmount(int minPayAmount) {
        this.minPayAmount = minPayAmount;
    }

    public int getProductCount() {
        return productCount;
    }

    public void setProductCount(int productCount) {
        this.productCount = productCount;
    }

    public int getProductId() {
        return productId;
    }

    public void setProductId(int productId) {
        this.productId = productId;
    }

//    public String getProductName() {
//        return productName;
//    }

//    public void setProductName(String productName) {
//        this.productName = productName;
//    }


    public String getProductFullName() {
        return productFullName;
    }

    public void setProductFullName(String productFullName) {
        this.productFullName = productFullName;
    }

    public String getProductUnit() {
        return productUnit;
    }

    public void setProductUnit(String productUnit) {
        this.productUnit = productUnit;
    }

    public BigDecimal getSalesPrice() {
        return salesPrice;
    }

    public void setSalesPrice(BigDecimal salesPrice) {
        this.salesPrice = salesPrice;
    }

    public String getSpecification() {
        return specification;
    }

    public void setSpecification(String specification) {
        this.specification = specification;
    }
}
